diff -Nur GTorrentViewer-0.2b.orig/src/Makefile.in GTorrentViewer-0.2b/src/Makefile.in
--- GTorrentViewer-0.2b.orig/src/Makefile.in	2004-10-25 23:42:16.000000000 -0500
+++ GTorrentViewer-0.2b/src/Makefile.in	2012-09-09 23:31:34.092115981 -0500
@@ -115,7 +115,7 @@
 
 CFLAGS = @CFLAGS@ @CURL_CFLAGS@ @GTK_CFLAGS@
 
-LDADD = @GTK_LIBS@ @CURL_LIBS@
+LDADD = @GTK_LIBS@ @CURL_LIBS@ -lm
 
 bin_PROGRAMS = gtorrentviewer
 
